#[derive(Debug, Clone)]
pub struct Post {
    pub title: Option<String>,
    pub url: String,
}
impl Post {
    pub fn new(title: Option<String>, url: String) -> Self {
        Self { title, url }
    }
    // pub fn title(&self) -> Option<String> {
    //     self.title.clone()
    // }
    pub fn url(&self) -> String {
        self.url.clone()
    }
}
